package fm.last.api
{
    import fm.last.BaseTC;
    

    public class TagAPITest extends BaseTC
    {
        
        
        public function TagAPITest()
        {
            super();
   
            addTest("testGetSimilar");
            addTest("testGetTopAlbums");
            addTest("testGetTopArtists");
            addTest("testGetTopTags");
            addTest("testGtTopTracks");
            addTest("testGetWeeklyArtistChart");
            addTest("testGetWeeklyChartList");
            addTest("testSearch");      
        }
     
        public function testGetSimilar():void
        {       
            lfm_service.tag.getSimilar(expectedPattern("/lfm/similartags"),unexpectedError, "disco");     
        }       
        
        public function testGetTopAlbums():void
        {    
            lfm_service.tag.getTopAlbums(expectedPattern("/lfm/topalbums"),unexpectedError, "disco");        
        }
                      
        public function testGetTopArtists():void
        {            
            lfm_service.tag.getTopArtists(expectedPattern("/lfm/topartists"),unexpectedError, "disco");
        }
               
        public function testGetTopTags():void
        {            
            lfm_service.tag.getTopTags(expectedPattern("/lfm/toptags"), unexpectedError);
        }       
        
        public function testGtTopTracks():void
        {            
            lfm_service.tag.getTopTracks(expectedPattern("/lfm/toptracks"),unexpectedError, "disco");
        }
               
        public function testGetWeeklyArtistChart():void
        {    
            lfm_service.tag.getWeeklyArtistChart(expectedPattern("/lfm/weeklyartistchart"),unexpectedError, "disco");        
        }
               
        public function testGetWeeklyChartList():void
        {  
            lfm_service.tag.getWeeklyChartList(expectedPattern("/lfm/weeklychartlist"),unexpectedError, "disco");          
        }       
        
        public function testSearch():void
        {   
            lfm_service.tag.search(expectedPattern("/lfm/results"),unexpectedError, "disco");         
        }       
                 
    }
}